import request from '@/utils/request'

// 查询评论举报列表
export function listAppRuleCommentReport(query) {
  return request({
    url: '/yun/appRuleCommentReport/webList',
    method: 'get',
    params: query
  })
}
// 查询举报数列表
export function getAppRuleCommentReportData(query) {
  return request({
    url: '/yun/appRuleCommentReport/list',
    method: 'get',
    params: query
  })
}

// 查询评论举报详细
export function getAppRuleCommentReport(id) {
  return request({
    url: '/yun/appRuleCommentReport/' + id,
    method: 'get'
  })
}

// 新增评论举报
export function addAppRuleCommentReport(data) {
  return request({
    url: '/yun/appRuleCommentReport',
    method: 'post',
    data: data
  })
}

// 修改评论举报
export function updateAppRuleCommentReport(data) {
  return request({
    url: '/yun/appRuleCommentReport',
    method: 'put',
    data: data
  })
}

// 删除评论举报
export function delAppRuleCommentReport(id) {
  return request({
    url: '/yun/appRuleCommentReport/' + id,
    method: 'delete'
  })
}
// 删除规则评论
export function delAppRuleComment(id) {
  return request({
    url: '/yun/appRuleComment/' + id,
    method: 'delete'
  })
}
